$red: #D3242E;
@mixin ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.li-mask {
    .detail-mask {
        position: absolute;
        left: 0;
        top: 0;
        text-align: center;
        width: 100%;
        height: 100%;
        display: none;
        z-index: 1;
        &:before {
            content: '';
            display: inline-block;
            height: 100%;
            vertical-align: middle;
        }
        .middle {
            display: inline-block;
            vertical-align: middle;
            position: relative;
            z-index: 1;
        }
        .mask {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: #000;
            opacity: .6;
            filter: alpha(opacity=60);
        }
        a {
            display: inline-block;
            width: 96px;
            height: 34px;
            line-height: 34px;
            color: #fff;
            text-align: center;
            font-size: 14px; // margin: 45px 8px 0;
            &:hover {
                opacity: .9;
            }
            &.blue {
                background: #3489EC;
            }
            &.red {
                background: #EC1D1C;
            }
            &.yellow {
                background: #F29716;
            }
        }
    }
    &:hover .detail-mask {
        display: block;
    }
}

/*去掉highchart logo*/

.highcharts-credits {
    display: none;
}

.clear {
    &:after {
        content: "";
        display: block;
        height: 0;
        clear: both;
    }
}

.slick-slide {
    outline: none;
}

.slick-prev,
.slick-next {
    display: none !important;
    position: absolute;
    background: url(../newimages2.0/arrow-prev.png) no-repeat;
    width: 21px;
    height: 49px;
    border: 0;
    cursor: pointer;
    top: 50%;
    margin-top: -25px;
    z-index: 222;
}

.slick-next {
    background: url(../newimages2.0/arrow-next.png) no-repeat;
    right: 0;
}

.slick-hover {
    position: relative;
}

.slick-hover:hover {
    .slick-next,
    .slick-prev {
        display: block !important;
    }
}

.section-title {
    text-align: center;
    margin: 22px 0 12px;
    line-height: 30px;
    font-size: 20px;
    color: #333;
    .text {
        // margin: 0 22px;
    }
    .radius {
        border-radius: 100%;
        background: #D8D8D8;
        width: 6px;
        height: 6px;
        display: inline-block;
        vertical-align: 4px;
    }
}

.home {
    min-width: 1200px;
    a {
        text-decoration: none;
    }
    * {
        box-sizing: border-box;
    }
}

// 区域一
.section-head-wrap {
    position: relative;
    height: 450px;
    overflow: hidden;
    .swiper-slide {
        height: 450px;
        position: relative;
        overflow: hidden;
        img {
            position: absolute;
            left: 50%;
            margin-left: -960px;
            height: 450px;
        }
    }
    .dots {
        position: absolute;
        text-align: center;
        bottom: 34px;
        text-align: center;
        width: 100%;
        cursor: pointer;
        .swiper-pagination-switch {
            display: inline-block;
            margin-right: 7px;
            width: 20px;
            height: 6px;
            background: #fff;
            opacity: 0.8;
            &.swiper-active-switch {
                background: #D0111C;
                opacity: 1;
            }
        }
    }
}

.section-head {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
    height: 450px;
    .section-banner {
        position: relative;
        height: 100%;
        .banner-left {
            width: 220px;
            background: #2D2E3E;
            padding: 13px 0 13px 20px;
            float: left;
            height: 450px;
            a {
                color: #fff;
                font-size: 14px;
            }
            &:hover {
                .banner-left-sectionContent {
                    display: block;
                }
            }
            .banner-left-section {
                margin-bottom: 26px;
                &.on {
                    background: #685d5c;
                }
                a {
                    float: left;
                    text-decoration: none;
                    line-height: 20px;
                    &:hover {
                        // color: $bg;
                    }
                }
                .title {
                    position: relative;
                    margin-bottom: 8px;
                    .iconNew {
                        margin: 2px 14px 0 0;
                        float: left;
                    }
                    a {
                        cursor: default;
                        color: #999;
                    }
                }
                ul {
                    padding-left: 30px;
                    overflow: hidden;
                    li {
                        float: left;
                        margin-right: 10px;
                        line-height: 20px;
                    }
                }
            }
            .banner-left-sectionContent {
                position: absolute;
                width: 910px;
                height: 450px;
                background: #fff;
                z-index: 55;
                top: 0;
                left: 220px;
                box-shadow: 2px 5px 20px #d8d8d8;
                display: none;
                a {
                    color: #333;
                    &:hover {
                        // c: $bg;
                    }
                }
            }
            .bannerleft-dlWrap {
                float: left;
                border-right: 1px solid #f2f2f2;
                padding: 0 30px 0 16px;
                margin: 30px 0;
                width: 586px;
                height: 400px;
                box-sizing: border-box;
                dl {
                    border-bottom: 1px solid #f2f2f2;
                    margin-bottom: 20px;
                    dt {
                        margin-bottom: 12px;
                        font-weight: bold;
                        font-size: 14px;
                    }
                    dd {
                        padding-bottom: 15px;
                        overflow: hidden;
                        ul {
                            overflow: hidden;
                        }
                        li {
                            line-height: 25px;
                            float: left;
                            margin-right: 28px;
                        }
                    }
                }
                .dl-last {
                    border: 0;
                    margin-bottom: 0;
                }
            }
            .bannerleft-ad {
                float: right;
                width: 352px;
                margin: 30px 20px 30px 0;
                li {
                    float: left;
                    margin-bottom: 12px;
                    img {
                        width: 176px;
                        height: 70px;
                    }
                }
            }
        }
        .bannerRight {
            float: right;
            padding-top: 15px;
        }
        .banner-ad {
            float: left;
            width: 146px;
            margin-right: 8px;
            li {
                margin-bottom: 7px;
            }
        }
        .banner-me {
            width: 230px;
            float: left;
            background: #fff;
            height: 420px; // .me-title {
            //     border-bottom: 1px solid #EBEBEB;
            //     font-size: 14px;
            //     height: 40px;
            //     line-height: 40px;
            //     text-align: center;
            // }
            .me-tab-text {
                height: 28px;
                line-height: 28px;
                text-align: center;
                margin-bottom: 20px;
                border-top: 1px solid #E4E4E4;
                li {
                    float: left;
                    text-align: center;
                    background: #fff;
                    width: 50%;
                    border: 1px solid transparent;
                    border-width: 0;
                    &.active {
                        background: #eee;
                        border-color: #E4E4E4;
                        a {
                            color: #333;
                        }
                        &.tab-left {
                            border-width: 0 1px 1px 0;
                        }
                        &.tab-right {
                            border-width: 0 0 1px 1px;
                        }
                    }
                    a {
                        display: block;
                        color: #999;
                        text-align: center;
                    }
                }
            }
            .me-tab {
                .me-tab-content {
                    text-align: center;
                    margin-bottom: 17px;
                    li {
                        display: inline-block;
                        width: 64px;
                        height: 24px;
                        background: #FCEEDE;
                        text-align: center;
                        line-height: 24px;
                        margin: 0 2px;
                        a {
                            color: #CB9558;
                        }
                    }
                }
            }
            .me-step {
                border-bottom: 1px solid #EBEBEB;
                padding: 0 2px 17px;
                dl {
                    display: inline-block;
                    text-align: center;
                    color: #999;
                    margin: 0 12px;
                    dt {
                        height: 31px;
                        position: relative;
                        .iconNew-step-arrow {
                            position: absolute;
                            left: 48px;
                            top: 7px;
                        }
                    }
                    dd {
                        line-height: 17px;
                    }
                }
            }
            .me-quick {
                padding: 15px 10px 0;
                position: relative;
                .quick-hover {
                    position: absolute;
                    height: 100px;
                    background: #fff;
                    border: 1px solid $red;
                    width: 210px;
                    left: 10px;
                    top: 73px;
                    z-index: 1;
                    display: none;
                    &.quick-hover-bottom {
                        top: 132px;
                        z-index: 0;
                    }
                }
                .quick-bottom.mask {
                    a {
                        z-index: 0;
                    }
                }
                a {
                    display: block;
                    float: left;
                    padding: 7px 10px;
                    border: 1px solid transparent;
                    text-align: center;
                    position: relative;
                    z-index: 1;
                    &.active {
                        border-color: $red;
                        border-bottom-color: #fff;
                    }
                    dt {
                        height: 26px;
                    }
                    dd {
                        line-height: 17px;
                        color: #333;
                    }
                }
            }
            .me-news {
                height: 131px;
                margin-top: 15px; // .news-title {
                //     color: #999;
                //     line-height: 14px;
                //     margin-bottom: 10px;
                //     .title-topic {
                //         color: $red;
                //         margin-right: 10px;
                //     }
                // }
                .news-list li {
                    padding: 0 21px;
                    a {
                        display: block;
                        color: #333;
                        margin-bottom: 8px;
                        line-height: 14px;
                        &:hover {
                            color: $red;
                        }
                        @include ellipsis;
                    }
                }
            }
        }
    }
}

// 区域二
.section-map-wrap {
    background: #F7F7F7;
    height: 437px;
}

.section-map {
    .map-wrap-title {
        height: 55px;
        line-height: 55px;
        color: #333;
        overflow: hidden;
        .title-left {
            float: left;
            .title-topic {
                font-size: 20px;
            }
            .title-des {
                color: #ccc;
                margin-left: 13px;
            }
        }
        .title-right {
            float: right;
            a {
                color: #333;
            }
        }
    }
    .map-title {
        position: relative;
        h3 {
            .title-topic {
                font-size: 18px;
                line-height: 25px;
            }
            .title-tab {
                float: right;
                margin-top: 2px;
                li {
                    float: left;
                    font-size: 12px;
                    color: #666;
                    margin-left: 20px;
                    line-height: 17px;
                    cursor: pointer;
                    border-bottom: 2px solid transparent;
                    &.active {
                        border-color: $red;
                        color: $red;
                    }
                }
            }
        }
    }
    .map-tab {
        text-align: center;
        margin-top: 12px;
        li {
            display: inline-block;
            color: #999;
            margin: 0 12px;
            cursor: pointer;
            &.active,
            &:hover {
                color: $red;
            }
        }
    }
    .map-wrap-content {
        background: #fff;
        height: 365px;
        padding: 21px 0 32px;
    }
    .map-left {
        float: left;
        width: 337px;
        padding-left: 21px;
        #trend_chart {
            width: 100%;
            height: 284px;
            margin: -24px 0 0;
        }
    }
    .map-middle {
        float: left;
        margin-left: 18px;
        width: 440px;
        .map-title {
            height: 41px;
        }
        .areaShow {
            position: absolute;
            width: 305px;
            top: -10px;
            right: 0;
            padding: 10px 28px 10px 10px;
            z-index: 11;
            border: 1px solid transparent;
            background: #fff;
            &.showing {
                border: 1px solid #f2f2f2;
                box-shadow: 0 0 5px #ccc;
            }
            .more-list {
                display: none;
            }
            .more {
                position: absolute;
                right: -6px;
                &:after {
                    content: '';
                    position: absolute;
                    right: 8px;
                    top: 8px;
                    border-top: 5px solid transparent;
                    border-bottom: 5px solid transparent;
                    border-left: 5px solid #999;
                }
            }
            a {
                width: 44px;
                float: left;
                line-height: 26px;
                overflow: hidden;
                color: #666;
                font-size: 12px;
                &.active,
                &:hover {
                    color: $red;
                }
            }
        }
        .map-slick {
            width: 100%;
            height: 270px;
            overflow: hidden;
            position: relative;
            padding: 1px;
            .trends {
                float: left;
                width: 100%;
                color: #333;
                outline: none;
                li {
                    float: left;
                    width: 220px;
                    height: 90px;
                    padding: 20px;
                    margin: 0 0 -1px -1px;
                    border: 1px solid #F2F2F2; // border-width: 0 0 1px 1px;
                }
            }
            .trends_comp {
                font-size: 14px;
                margin-bottom: 12px;
                line-height: 17px;
                .time {
                    float: right;
                    color: #999;
                    text-align: right;
                    font-size: 12px;
                }
            }
            .trends_kind {
                line-height: 22px;
                .type {
                    float: left;
                    color: #B0B0B0;
                }
                .price {
                    float: right;
                    strong {
                        font-size: 16px;
                    }
                }
                .up {
                    color: #FF3232;
                }
                .down {
                    color: #48D27F;
                }
            }
        }
    }
    .map-right {
        float: left;
        margin-left: 18px;
        position: relative;
        width: 330px;
        .map-tips {
            color: #CACACA;
            width: 14px;
            line-height: 16px;
            position: absolute;
            right: -24px;
            top: 10px;
        }
        #trend_map {
            width: 100%;
            height: 265px;
        }
        .map-title {
            margin-top: -5px;
        }
    }
}

// 区域三——钢厂直销
.section-steel {
    padding-top: 30px;
    margin-bottom: 24px;
    .steel-content {
        width: 1180px;
        overflow: hidden;
    }
    .steel-slick {
        width: 1195px;
        height: 266px;
        overflow: hidden;
        .slick-next {
            right: 15px;
        }
    }
    .steel-inner {
        border: 1px solid #E6E6E6;
        width: 228px;
        height: 264px; //padding: 15px;
        float: left;
        margin-right: 13px;
        box-sizing: content-box;
        .steel-logo {
            position: relative;
            background: orange;
            width: 100%;
            float: left;
            margin-right: 20px;
            height: 214px;
            img {
                position: absolute;
                width: 118px;
                height: 40px;
                left: 55px;
                top: 65px;
            }
            .kilo {
                position: absolute;
                width: 140px;
                height: 40px;
                left: 64px;
                bottom: 29px;
                color: red;
                font-size: 14px;
                span.tonNum {
                    font-size: 28px;
                }
            }
        }
        .steel-detail {
            background: #FFFFFF;
            opacity: 0.85;
            filter: alpha(opacity=85);
            float: left;
            width: 100%;
            text-align: center;
            line-height: 50px;
            font-size: 14px;
        }
    }
}

// 区域四—找钢商城 
.section-shop {
    .shop-content {
        height: 400px;
    }
    .shop-title {
        height: 44px;
        line-height: 44px;
        font-size: 18px;
        padding-left: 14px;
        font-weight: bold;
        background: #F5F5F5;
        color: #333;
        border: 1px solid #E6E6E6;
    }
    .shop-rank {
        float: left;
        width: 268px;
        .rank-top {
            height: 83px;
            background: url(../newimages2.0/rank-bg.png) no-repeat;
            text-align: center;
            b {
                display: inline-block;
                font-size: 20px;
                color: #fff;
                margin: 35px 11px 0 0;
            }
            span {
                display: inline-block;
                color: #FFD5C6;
            }
        }
        .rank-bottom {
            height: 318px;
            border: 1px solid #E6E6E6;
            border-top: 0;
            padding: 0 17px;
            li {
                border-bottom: 1px dashed #DEDEDE;
                padding: 12px 0 10px 0;
                color: #999;
                overflow: hidden;
                .rank-logo {
                    float: left;
                }
                .rank-detail {
                    float: left;
                }
            }
        }
    }
    .shop-middle {
        width: 531px;
        float: left;
        margin: 0 11px;
        .middle-detail {
            height: 360px;
            width: 100%;
            overflow: hidden;
            background: #fff;
            padding: 0 0 0 1px;
            ul {
                float: left;
            }
            li {
                border: 1px solid #E6E6E6;
                width: 266px;
                height: 120px;
                padding: 20px;
                position: relative;
                float: left;
                margin: -1px 0 0 -1px;
                &.in {
                    .detail .detail-kind .tag {
                        background: #F29716;
                    }
                }
                .detail {
                    line-height: 17px;
                    .detail-kind {
                        line-height: 20px;
                        font-size: 14px;
                        color: #333333;
                        overflow: hidden;
                        .kind {
                            float: left;
                        }
                        .tag {
                            float: right;
                            background: #3489EC;
                            width: 48px;
                            height: 20px;
                            color: #fff;
                            text-align: center;
                            line-height: 20px;
                        }
                    }
                    .detail-num {
                        margin: 7px 0 17px;
                        .num {
                            color: $red;
                            margin-right: 20px;
                        }
                        .time {
                            color: #999;
                        }
                    }
                    .detail-infor {
                        color: #D7A03C;
                        .iconNew,
                        >div {
                            float: left;
                        }
                        .iconNew-message {
                            margin: 3px 5px 0 0;
                        }
                        .company {
                            width: 104px;
                            margin-right: 2px;
                            @include ellipsis;
                        }
                        .area {
                            margin-left: 15px;
                        }
                    }
                }
            }
        }
    }
    .shop-right {
        float: left;
        width: 357px;
        .right-detail {
            padding: 0 14px;
            border: 1px solid #E6E6E6;
            border-top: 0;
            ul {
                height: 358px;
                overflow: hidden;
                position: relative;
            }
            li {
                border-bottom: 1px dashed #DEDEDE;
                height: 88px;
                padding-top: 20px;
                .left {
                    float: left;
                }
                .right {
                    float: right;
                }
                .top {
                    overflow: hidden;
                    line-height: 20px;
                    margin-bottom: 10px;
                    .kind {
                        font-size: 14px;
                        color: #333;
                        .name {
                            margin-right: 14px;
                        }
                    }
                    .price {
                        font-size: 16px;
                        color: $red;
                        font-weight: bold;
                    }
                }
                .bottom {
                    line-height: 17px;
                    color: #999;
                    .size-name {
                        margin-right: 14px;
                    }
                }
            }
        }
    }
}

// 区域五—推荐卖家
.section-seller {
    overflow: hidden;
    margin-top: 26px;
    .seller-content {
        position: relative;
        border: 1px solid #E6E6E6;
        .seller-line {
            height: 0;
            width: 1155px;
            border: 1px dashed #E6E6E6;
            position: absolute;
            top: 72px;
            left: 11px;
            z-index: 1;
        }
    }
    .seller-content li {
        background: #fff;
        /*mb: 10px;*/
        overflow: hidden;
        margin: 2px 0;
        >div {
            float: left;
            width: 196px;
            height: 70px;
            line-height: 70px;
            text-align: center;
            position: relative;
            background: #fff;
            /* img {
                    va: middle;
                }*/
            .detail-mask {}
            .img {
                display: inline-block;
                width: 196px;
                height: 70px;
                img {
                    width: 196px;
                    height: 70px;
                }
            }
            .line {
                position: absolute;
                width: 1px;
                height: 31px;
                background: #e6e6e6;
                right: -3px;
                top: 20px;
                position: absolute;
                z-index: 1;
            }
        }
    }
}

// 区域六—找钢全产业链
.section-product {
    overflow: hidden;
    .product-description {
        overflow: hidden;
        height: 320px;
        width: 1500px;
        li {
            float: left;
            width: 236px;
            height: 320px;
            white-space: nowrap;
            position: relative;
            &.des1 {
                background: url(../newimages2.0/des-big.jpg) no-repeat center;
            }
            &.des2 {
                background: skyblue;
            }
            &.des3 {
                background: pink;
            }
            &.des4 {
                background: blue;
            }
            &.des5 {
                background: gray;
            }
            &.active {
                width: 380px;
            }
            .des-inner {
                width: 100%;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                .des-mask {
                    background: green;
                    height: 100%;
                    position: absolute;
                    width: 100%;
                    top: 0;
                    left: 0;
                    display: none;
                    .view-detail {
                        display: inline-block;
                        width: 96px;
                        height: 34px;
                        line-height: 34px;
                        color: #fff;
                        text-align: center;
                        font-size: 14px;
                        background: #EC1D1C;
                        &:hover {
                            opacity: .9;
                        }
                    }
                }
                .des-text {
                    text-align: center;
                    margin-top: 140px;
                    h5 {
                        font-size: 18px;
                        color: #FFFFFF;
                        margin-bottom: 10px;
                    }
                    .text-bottom {
                        display: inline-block;
                        width: 170px;
                        height: 53px;
                        color: #fff;
                        font-size: 14px;
                        line-height: 20px;
                    }
                  
                }
            }
        }
    }
    .product-news {
        overflow: hidden;
        margin: 25px 0 20px 0;
        a {
            color: #333333;
        }
        a:hover {
            text-decoration: underline;
        }
        .news {
            float: left;
            width: 370px;
            .news-title {
                height: 30px;
                font-size: 20px;
                margin-bottom: 10px;
                .news-title-left {
                    float: left;
                    font-size: 18px;
                }
                .news-title-right {
                    float: right;
                    font-size: 12px;
                    margin-top: 2px;
                    a {
                        color: #999;
                    }
                }
            }
            .news-content {
                .news-introduce {
                    position: relative;
                    margin-bottom: 26px;
                    img {
                        width: 100%;
                        height: 200px;
                    }
                    .image-text {
                        position: absolute;
                        bottom: 7%;
                        width: 340px;
                        font-size: 16px;
                        color: white;
                        left: 4%;
                        @include ellipsis;
                    }
                }
                .news-list {
                    font-size: 14px;
                    li {
                        line-height: 17px;
                        overflow: hidden;
                        margin-bottom: 15px;
                        color: #333333;
                        .news-list-title {
                            float: left;
                            width: 258px;
                            @include ellipsis;
                        }
                        .news-list-date {
                            float: right;
                            color: #999;
                        }
                    }
                }
            }
        }
        .news-middle {
            margin-left: 36px;
        }
        .news-right {
            float: right;
        }
    }
    .product-ad {
        overflow: hidden;
        margin-bottom: 50px;
        li {
            float: left;
            img {
                width: 570px;
                height: 90px;
            }
        }
        .product-ad-right {
            float: right;
        }
    }
}